﻿<ul id="dwztree" class="tree treeFolder expand">
    @foreach (var r in Roles.GetAllRoles())
    { 
        <li><a>@r </a>
            @if (Roles.FindUsersInRole(r, ".*").Count() != 0)
            { 
                <ul>
                    @foreach (string user in Roles.FindUsersInRole(r, ".*"))
                    {
                        <li class="sysActionPermission">
                            <a tname="name" tvalue="@r.@user" >@user </a>
                        </li>
                    }
                </ul>
            }
        </li>
    }
</ul>
